php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#115644 - 09/13/03 02:32 PM Re: [6.6] Complete CSS of Public Template Files
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Hey Allen, a quick fix for times that requires little hacking...

In public_common.pl
FIND:
Code:
span.timestamp-1 {
	color: $vars_style{TimeColor};
}
TWICE

Delet them.

In Frost.css add:

Code:
span.timestamp-1 {
	color: blue;
}
now change that color to whatever you want the colors to be smile

There is also a problem in public_directory.pl

FIND:

Code:
	my $appn = $vars_display{'DirectorySortEnable'} eq "YES" ? qq~
<td nowrap="nowrap"><b>

$selarray[0]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=0"
class="text-decoration: underline">#</a>
|
$selarray[1]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=1"
class="text-decoration: underline">$vars_wordlets{displayed_name}</a>
|
$selarray[10]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=10"
class="text-decoration: underline">$vars_wordlets{member_status}</a>

</b></td>
<td nowrap="nowrap"><b>
$selarray[2]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=2"
class="text-decoration: underline">$vars_wordlets{author_posts_nocolon}</a>
</b></td>
~ : qq~
<td nowrap="nowrap"><b>
#, $vars_wordlets{displayed_name}, $vars_wordlets{member_status}
</b></td>
<td nowrap="nowrap"><b>
$vars_wordlets{author_posts_nocolon}
</b></td>
~;
	foreach my $num (@flds) {

		$appn .= $vars_display{'DirectorySortEnable'} eq "YES" ? qq~
<td nowrap="nowrap"><b>
$selarray[$num]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=$num"
class="text-decoration: underline">$statements{$num}</a>
</b></td>
~ : qq~
<td nowrap="nowrap"><b>
$statements{$num}
</b></td>
replace with:

Code:
	my $appn = $vars_display{'DirectorySortEnable'} eq "YES" ? qq~
<td nowrap="nowrap"><b>
$selarray[0]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=0"><font class="tdheader">#</font></a>
|
$selarray[1]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=1"><font class="tdheader">$vars_wordlets{displayed_name}</font></a>
|
$selarray[10]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=10"><font class="tdheader">$vars_wordlets{member_status}</font></a>
</b></td>
<td nowrap="nowrap"><b>
$selarray[2]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=2"><font class="tdheader">$vars_wordlets{author_posts_nocolon}</font></a>
</b></td>
~ : qq~
<td nowrap="nowrap"><b>
#, $vars_wordlets{displayed_name}, $vars_wordlets{member_status}
</b></td>
<td nowrap="nowrap"><b>
$vars_wordlets{author_posts_nocolon}
</b></td>
~;
	foreach my $num (@flds) {

		$appn .= $vars_display{'DirectorySortEnable'} eq "YES" ? qq~
<td nowrap="nowrap"><b>
$selarray[$num]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=$num"><font class="tdheader">$statements{$num}</font></a>
</b></td>
~ : qq~
<td nowrap="nowrap"><b>
$statements{$num}
</b></td>
smile

Top
#115645 - 09/15/03 12:30 AM Re: [6.6] Complete CSS of Public Template Files
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
in that big section yer replacing, what's the major difference? smile
_________________________
- Allen wavey
- What Drives You?

Top
#115646 - 09/15/03 09:06 AM Re: [6.6] Complete CSS of Public Template Files
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
getting rid of the

Code:
class="text-decoration: underline"
and adding

Code:
<font class="tdheader">
within the links

Top
#115647 - 09/17/03 12:02 AM Re: [6.6] Complete CSS of Public Template Files
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Thanks, zip files updated with the fixes posted concerning the template files smile
_________________________
- Allen wavey
- What Drives You?

Top
#115648 - 09/17/03 12:06 AM Re: [6.6] Complete CSS of Public Template Files
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Hey Allen, any word on if these templates will work with 6.6.1?

Top
#115649 - 09/17/03 12:32 AM Re: [6.6] Complete CSS of Public Template Files
Charles Capps Offline
Admin Emeritus

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
6.6.1 would be called 6.6.0.1 under the old numbering scheme. Just bugfixes - shouldn't be any problems.
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#115650 - 09/20/03 01:29 PM Re: [6.6] Complete CSS of Public Template Files
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
they work with 6.6.1 tipsy
_________________________
- Allen wavey
- What Drives You?

Top
#115651 - 09/20/03 02:20 PM Re: [6.6] Complete CSS of Public Template Files
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Allen, one more bug.

On the search page, the footer (powered by, etc) it big

Top
#115652 - 09/20/03 02:26 PM Re: [6.6] Complete CSS of Public Template Files
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
yeah, same in the forum page... very odd
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#115653 - 09/21/03 06:45 PM Re: [6.6] Complete CSS of Public Template Files
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I can't figure out the cause, but I figured out a fix. In your css files, in the copyright and small classes, use a definite font-size, not just "smaller". (didn't it used to be only copyright?)

Top
#115654 - 09/25/03 11:46 PM Re: [6.6] Complete CSS of Public Template Files
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Not sure, just wanted to say your site is really looking sweet thumbsup
_________________________
- Allen wavey
- What Drives You?

Top
#115655 - 09/25/03 11:57 PM Re: [6.6] Complete CSS of Public Template Files
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
thanks, I've been tweaking every since I visited threadsdev smile They have a lot of nice tips for css

Top
#115656 - 09/29/03 04:39 PM Re: [6.6] Complete CSS of Public Template Files
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA

Top
#115657 - 09/29/03 04:52 PM Re: [6.6] Complete CSS of Public Template Files
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
here's the fix
find:
Code:
	if($swap == 2) { $swap = 1; } else { $swap = 2; }

	my $switch = "AltColumnColor" . $swap;

return <<THISFIELD;

<!-- Start $title -->
<tr class="$vars_style{$switch}">
replace with:
Code:
	if($swap eq 'dark') { $swap = 'light'; } else { $swap = 'dark'; }

	my $switch = $swap . "table";

return <<THISFIELD;

<!-- Start $title -->
<tr class="$switch">

Top
#115658 - 10/04/03 09:44 PM Re: [6.6] Complete CSS of Public Template Files
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
bumping so Allen sees this

Top
#115659 - 10/17/03 01:25 AM Re: [6.6] Complete CSS of Public Template Files
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
danke smile
_________________________
- Allen wavey
- What Drives You?

Top
Page 2 of 2 < 1 2



Moderator:  Gizmo, tackaberry 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks